﻿using System;
using Microsoft.Xna.Framework;
using Phoenix.Xna.Framework.Graphics;

namespace Phoenix.Xna.Framework.Components
{
    public interface IDrawableComponent : IComponent, IHasContent
    {
        event EventHandler<DrawOrderChangedEventArgs> DrawOrderChanged;

        bool Visible { get; set; }
        int DrawOrder { get; set; }

        void Draw(GameTime gameTime);
    }
}
